package cn.rkylin.oms.system.logistics.dao;

import java.util.List;

import cn.rkylin.oms.system.logistics.domain.Logistics;
import cn.rkylin.oms.system.logistics.vo.LogisticsVO;

public interface ILogisticsDAO {

    List getLgstByCondition(Logistics unitParam, int page, int rows) throws Exception;

    void delete(String stationParam, String string) throws Exception;

    List getLgstByCondition(LogisticsVO lgstVO) throws Exception;

    public void insert(LogisticsVO lgstVO) throws Exception;

    void update(LogisticsVO ur) throws Exception;

    Logistics findByid(String lgstId) throws Exception;

    /**
     * 获取默认的物流公司
     * 
     * @param prjId
     * @return 无默认的则返回null
     */
    Logistics getDefaultLgst(String prjId) throws Exception;
}
